﻿<%@ Page Title="增加页" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeBehind="Add.aspx.cs" Inherits="IMIS_ERP.Web.System_Manager.Add" %>

<%@ MasterType VirtualPath="~/MasterPage.master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="body_top">
        <img src="../images/tab_t_l.gif" alt="" />
        <span class="f1">您当前的位置</span>：【管理员管理】-【添加管理员】
    </div>
    <div class="body_main">
        <div class="line1">
            <div class="lineLeft">
                用户编号：</div>
            <div class="lineRight">
                <asp:TextBox ID="txtsmID" runat="server" Width="350px" Text="man" MaxLength="6"></asp:TextBox>(man+三位编号)<asp:RegularExpressionValidator
                    ID="revsmID" runat="server" ValidationExpression="[m|M][a|A][n|N]\d{3}" ErrorMessage="用户编号应为：man+3位编号"
                    ControlToValidate="txtsmID"></asp:RegularExpressionValidator>
            </div>
        </div>
        <div class="line2">
            <div class="lineLeft">
                姓名：</div>
            <div class="lineRight">
                <asp:TextBox ID="txtsmName" runat="server" Width="350px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfvsmName" runat="server" ErrorMessage="姓名不能为空" ControlToValidate="txtsmName"></asp:RequiredFieldValidator>
            </div>
        </div>
        <div class="line1">
            <div class="lineLeft">
                密码：</div>
            <div class="lineRight">
                <asp:TextBox ID="txtsmPwd" runat="server" Width="350px"></asp:TextBox>(不填写默认为：123)
            </div>
        </div>
        <div class="line2">
            <div class="lineLeft">
                联系方式：</div>
            <div class="lineRight">
                <asp:TextBox ID="txtsmContacts" runat="server" Width="350px"></asp:TextBox>
            </div>
        </div>
        <div class="line5">
            <div class="lineLeft">
                个人信息：</div>
            <div class="lineRight">
                <asp:TextBox ID="txtsmInfo" runat="server" Width="350px" Height="115px" TextMode="MultiLine"></asp:TextBox>
            </div>
        </div>
        <div id="bottom">
            <asp:CheckBox ID="ckbContinue" runat="server" Checked="false" Text="继续添加" />
            <asp:Label ID="lblMessage" runat="server" CssClass="msg"></asp:Label><br />
            <asp:Button ID="btnSave" runat="server" Text="保存" OnClick="btnSave_Click" CssClass="btn">
            </asp:Button>&nbsp; &nbsp; &nbsp;
            <input id="btnCancel" type="button" value="取消" onclick="Cancel();" class="btn" />
        </div>
    </div>
</asp:Content>
